import {AdminToken} from "@/utils/constant";
import Cookies from "js-cookie";

export function getToken() {
  return Cookies.get(AdminToken)
}

export function setToken(token) {
  return Cookies.set(AdminToken, token)
}

export function removeToken() {
  return Cookies.remove(AdminToken)
}
